/**
  ************************************* Copyright ******************************
  *'  _      _____  _____  _   _
  *' | |    |  ___||  _  || \ | | (C) Copyright 2019,CHUEnliang-Leon,China, SUST.
  *' | |    | |__  | | | ||  \| |             All Rights Reserved
  *' | |    |  __| | | | || . ` |        By(陕西科技大学电力系统自动化实验室)
  *' | |____| |___ \ \_/ /| |\  |         https://blog.csdn.net/LeonSUST
  *' \_____/\____/  \___/ \_| \_/  Mtto: Today is the first day of the rest of your life.
  *'
  * FileName   : common.c
  * Version    : v1.0
  * Author     : CHUEnliang-Leon
  * Date       : 2019-05-17
  * Description:
  ******************************************************************************
 */
#include "common.h"

#ifdef PWM_ADJUSTABLE_MODE

int32_t  TIM2_PWM_FQ = 0;       //目标频率    /* TIM2_CH1_PWM输出 频率设置值，1-1000000 */
int32_t  TIM2_PWM_FQ_Old  = 0;
uint16_t TIM2_PWM_Pulse = 50;  /* TIM2_CH1_PWM输出 占空比设置值，0-100 */
uint16_t TIM2_PWM_Pulse_Old = 0;
uint16_t TIM2_PWM_Step = 100;  //按键修改频率的步长
uint16_t MyuhTimerPrescaler = 0;
uint16_t MyuhTimerPeriod = 0;
uint16_t RunFlag = 0;
#endif
